/*
 * @Description: file content
 */
const ProductService = require("../../services/web/ProductService")

const ProductController = {
  getList: async (req, res) => {
    const id = req.params.id
    const result = await ProductService.getList(id)
    res.send({
      code: 200,
      data: result,
      msg: '数据获取成功',
    })
  },
}
module.exports = ProductController
